PXC Documentation

PXC Home

Replace Colors

pre 1.18

Replace selected colors with a new one.



Node Data

FilterArray

Display name

Replace Colors

Internal name

Node_Colors_Replace

Inheritances

node
node_processor
node_colors_replace

Inputs

node_colors_replace

surface

Surface In

palette

Palette From

palette

Palette To

float

Threshold

surface

Mask

float

Mix

bool

Active

Outputs

node_colors_replace

surface

Surface Out

Attributes

node_colors_replace

Auto refresh

Replace color node replace specific colors in the image by matching it to a list of replacement pairs.



Replacement pairs


The replacement pair can be view in the inspector:



Replacement pairs are refresh automatically when a new surface is connected. This might cause lag when working with large surface, you can disable this feature with the Auto refresh attribute.